<?php

namespace Database\Seeders;

use App\Models\Enterprise;
use App\Models\User;
use Illuminate\Database\Seeder;

class InitEnterpriseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        
        $type = [
            '车企',
            '储能企',
            '充电桩运营商',
        ];
        $enterprise = Enterprise::updateOrCreate(['name' => '冠盖（上海）科技有限公司'], 
            [   'contact' => '黄志丽',
                'contact_phone' => '0755-66655478',
                'type' => $type 
        ]);

        // Enterprise::factory(1)->create();
    }
}
